Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Live text Regular expressions
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Functionality
Platform: Windows Vista client
Release: 8.5
Reproducible: Always

Hello

I made a widget which works with phone data. So i want to enable the phone number on any document. This basically works well. But it seems, that the Standard PhoneNumber recogniser only recognises US Phone Number, but no European Phone Numbers. E.g. when i have a mail with the Phone Number +41 44 555 66 33, it does not recognize the "+".. (Bug?)
This does not work whith my widget :-(
I tried to create a new recognizer with a new regular expression. But i could no make it work with any Regexp! i tried these examples:

/^((\+\d{1,3}(-| )?\(?\d\)?(-| )?\d{1,5})|(\(?\d{2,6}\)?))(-| )?(\d{3,4})(-| )?(\d{4})(( x| ext)\d{1,5}){0,1}$/
/^(\+\d)*\s*(\(\d{3}\)\s*)*\d{3}(-{0,1}|\s{0,1})\d{2}(-{0,1}|\s{0,1})\d{2}$/
/^(\+\d)*\s*(\(\d{3}\)\s*)*\d{3}(-{0,1}|\s{0,1})\d{2}(-{0,1}|\s{0,1})\d{2}$/
/[^0-9.,]/g
(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]$

But not one of these did underline the desired text.

Do i miss something?

thanx for any help


Feedback number WEBB7TGKB2 created by ~Hal Desvelutexli on 06/29/2009

Status: Open
Comments: Actually, it does also not understand something like 041 44 399 44 55 ..

But by this time, i made so many additional Recognizers, that maybe i broke something..

So where are these Regexp Formulars and Content Types stored? Where can i reset them?

Update: Actually i know now where to change the RegEx after creation of the Widget (just in the xml of the emx file..). So i can change the regex there, but no matter which Phone-Recognizer i choose, none of them works.. Does the RegExp has to be in a special format?
An Example would be very helpful..

Live text Regular expressions (~Hal Desvelutex... 29.Jun.09)
. . Forwarded to Development (~Alexis Bubrebu... 30.Jun.09)
. . Regex (~Sanjay Zenhipi... 30.Jun.09)
. . Solution? (~Maria Umkroski... 15.Jun.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS